Skip to content

Conversation

@vietddude
Copy link
Collaborator

1. Fixed Reshare Deadlocks

  • Problem: Sessions hung when adding/removing nodes because old committee members weren't "listening" to messages from new nodes.
  • Fix: Updated event_consumer.go to ensure old committee members subscribe to all peers in the new committee, enabling full bi-directional communication.

2. Alternating ECDSA Pre-parameters

  • Problem: New nodes were hardcoded to use preParams[1], causing reuse across multiple reshare events.
  • Fix: Dynamic selection using version % 2. Joining nodes now alternate between pre-params [0] and [1] every time the key version increases, improving cryptographic security.

@vietddude vietddude requested a review from anhthii January 26, 2026 07:50
@anhthii
Copy link
Contributor

anhthii commented Jan 26, 2026

#136

@anhthii anhthii merged commit 878c8df into master Jan 27, 2026
20 checks passed
@anhthii anhthii deleted the fix/resharing-preparams branch January 27, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants